net/http.http2StreamError.Code (field)
16 uses
net/http (current package)
h2_bundle.go#L1402: Code http2ErrCode
h2_bundle.go#L1412: return http2StreamError{StreamID: id, Code: code}
h2_bundle.go#L1417: return fmt.Sprintf("stream error: stream ID %d; %v; %v", e.StreamID, e.Code, e.Cause)
h2_bundle.go#L1419: return fmt.Sprintf("stream error: stream ID %d; %v", e.StreamID, e.Code)
h2_bundle.go#L6062: Code: http2ErrCodeInternal,
h2_bundle.go#L7436: code = http2ErrCode(e.Code)
h2_bundle.go#L8167: if se.Code == http2ErrCodeProtocol && se.Cause == http2errFromPeer {
h2_bundle.go#L8171: return se.Code == http2ErrCodeRefusedStream
h2_bundle.go#L9153: cc.writeStreamReset(cs.ID, se.Code, false, err)
h2_bundle.go#L10006: Code: http2ErrCodeProtocol,
h2_bundle.go#L10035: Code: http2ErrCodeProtocol,
h2_bundle.go#L10363: Code: http2ErrCodeProtocol,
h2_bundle.go#L10371: Code: http2ErrCodeProtocol,
h2_bundle.go#L10380: Code: http2ErrCodeProtocol,
h2_bundle.go#L10627: Code: http2ErrCodeFlowControl,
h2_bundle.go#L11112: return ctx.Framer().WriteRSTStream(se.StreamID, se.Code)